DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / ISupportRangeEditing<T> Interface / MoveRangeAsync Method
From index.
The number of items to be moved.
To index.
The cancellation token.

In This Topic
    MoveRangeAsync Method (ISupportRangeEditing<T>)
    In This Topic
    Moves the items starting at the specified fromIndex to toIndex.
    Syntax
    'Declaration
     
    Function MoveRangeAsync( _
       ByVal fromIndex As Integer, _
       ByVal count As Integer, _
       ByVal toIndex As Integer, _
       Optional ByVal cancellationToken As CancellationToken _
    ) As Task
    Task MoveRangeAsync( 
       int fromIndex,
       int count,
       int toIndex,
       CancellationToken cancellationToken
    )

    Parameters

    fromIndex
    From index.
    count
    The number of items to be moved.
    toIndex
    To index.
    cancellationToken
    The cancellation token.
    See Also